﻿using System.Windows.Forms;
using StockLib;

namespace StockTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, System.EventArgs e)
        {
            StockContainer.Instance.Load();
        }

        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            StockContainer.Instance.Save();
        }
    }
}
